package com.hunnyovo.springframework.test.one;

/**
 * 用户测试Service
 *
 * @author Create By Cb
 * @date 2022/10/26 18:36
 **/
public class UserService {

    private String name;
    private Integer age;
    private UserDao userDao;

    public UserService() {
    }

    public UserService(String name, Integer age) {
        this.name = name;
        this.age = age;
    }

    public void create() {
        System.out.println("创建用户：" + this.name);
        this.userDao.dao();
    }

}
